<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>6-对齐问题-div中的文本框，文本框无法贴顶问题</title>
		<style type="text/css">
			*{
				margin:0;
				padding:0;
			}
			.box{
				width:500px;
				height:500px;
				border:1px solid red;
				margin:30px auto;
			}
			input{
				vertical-align: top;
			}
		</style>
	</head>
	<body>
		
		<div class="box">
			<input type="text">
		</div>
		
	</body>
</html>
